package pe.edu.upc.dsd.jjjar.upcbank.resources.client.model;

import com.extjs.gxt.ui.client.data.BaseModel;

public class Operation extends BaseModel{

	private static final long serialVersionUID = 1L;

	public Operation setMessage(String message){
		set("message", message);
		return this;
	}
	
	public String getMessage(){
		return get("message");
	}
	
	public Operation setSuccess(boolean success){
		set("success", success);
		return this;
	}
	
	public boolean isSuccess(){
		return get("success");
	}
	
	public Operation setData(Object data){
		set("data", data);
		return this;
	}
	
	public Object getData(){
		return get("data");
	}
	
	public Operation setData2(Object data){
		set("data2", data);
		return this;
	}
	
	public Object getData2(){
		return get("data2");
	}
	
	
	public Operation setId(Object data){
		set("id", data);
		return this;
	}
	
	public Object getId(){
		return get("id");
	}
	
	public Operation setStatus(Object status){
		set("status", status);
		return this;
	}
	
	public Object getStatus(){
		return get("status");
	}
	
}
